package com.guoxin.jiyin.service.impl;

import com.guoxin.jiyin.service.ConfigService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.core.env.Environment;
import org.springframework.stereotype.Service;

@Service
public class ConfigServiceImpl implements ConfigService {

    @Autowired
    private Environment env;

    /**
     * 商户token
     * @return
     */
    @Override
    public String getMerchantToken() {
        return env.getProperty("merchant_token","5fdb1034cb5498b253f5c0faae265a0f");
    }

}
